<?php
namespace Home\Controller;
use Think\ControllerEx;
class IndexController extends CommonController {


    public function index(){
    	$this->base_init(null);
        if (session('?home') ){
        	$this->display();
        }else{
        	$this->redirect('/Home/Login/index');	
        }
        
    }
}